package cn.dengta.webapp.trade.entity;

import java.util.Date;

import cn.dengta.webapp.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 微信公众号配置
 *
 * @author lizhichao
 * @since 2023-02-20
 */
@Setter
@Getter
@Accessors(chain = true)
@TableName("tr_wx_oa_config")
public class WxOaConfig extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/** 公众号名称 */
	String name;
	/** 微信公众号APP ID */
	String appId;
	/** 微信公众号APP ID */
	String appSecret;
	/** 微信公众号TOKEN */
	String token;
	/** 充值页重定向地址 */
	String redirectUrl;
	/** 别名 */
	String alias;
	/** 操作时间 */
	Date addTime;
	/** 最后更新时间 */
	Date updateTime;

	public static final String APP_ID = "app_id";
	public static final String APP_SECRET = "app_secret";
	public static final String TOKEN = "token";
	public static final String ALIAS = "alias";
	public static final String REDIRECT_URL = "redirect_url";
	public static final String ADD_TIME = "add_time";
	public static final String UPDATE_TIME = "update_time";

}
